home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000113_skh@lcl.cmu.edu_Fri Dec 10 11:03:26 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from caesar.lcl.cmu.edu (LCL.CMU.EDU) by cs.umb.edu with SMTP id AA09093
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 11 Dec 1993 10:08:25 -0500
  3. Received: from antony.lcl.cmu.edu by caesar.lcl.cmu.edu with SMTP
  4.     (15.11/15.6) id AA23111; Fri, 10 Dec 93 16:02:28 est
  5. Received: by antony.lcl.cmu.edu (5.57/Ultrix3.0-C)
  6.     id AA17327; Fri, 10 Dec 93 16:03:27 -0500
  7. Message-Id: <9312102103.AA17327@antony.lcl.cmu.edu>
  8. To: tex-k@cs.umb.edu
  9. Subject: xdvik-1.4 bug?
  10. Date: Fri, 10 Dec 93 16:03:26 EST
  11. From: skh@lcl.cmu.edu
  12.  
  13.  
  14. I retrieved xdvik-1.4 from ftp.shsu.edu only recently.
  15. In order to get it to work correctly with MakeTeXPK, I needed to 
  16. make sure that the expected resolution (bit size) was computed
  17. correctly in font-open.c, the same as it is / will be in metafont
  18. (i.e. rounding upwards).
  19. Otherwise, MakeTeXPK won't find the new file, and delete intermediate
  20. files and return an error, etc.
  21. In order to avoid some gruesome compiler error, 
  22. (rather than combining it in the call to something like (unsigned)dpi+0.5)
  23. I just added the following line 
  24. just above the call to kpse_find_glyph_format in font-open.c (line 83 or so):
  25.  
  26. dpi += 0.5;
  27.  
  28. Of course, I may be experiencing some compiler error elsewhere,
  29. so you should verify that this rounding is indeed necessary.
  30.  
  31. -- Steve Handerson
  32. Laboratory for Computational Linguistics
  33. Carnegie-Mellon University